var app = getApp(),
  util = require("../../utils/util.js");

var base = require('./../../../config.js');
Page({
  data: {
    list: [],
    url: wx.getStorageSync("url")
  },
  onLoad: function (o) {
    console.log(o);
    var that = this;
    wx.request({
      url: base.siteroot + '/?i=' + base.acid + '&c=entry&a=wxapp&m=zh_jdgjb&seller_id=' + o.id + '&do=AssessList',
      success: function (t) {
        console.log(t.data.data);
        that.setData({
          list: t.data.data
        })
      }
    }),
      wx.setNavigationBarColor({
        frontColor: '#000000',
        backgroundColor: '#ffffff'
      })
  },
  onShow: function () { },
  onPullDownRefresh: function () { },
  onReachBottom: function () { },
  onUnload: function () { },
  onShareAppMessage: function () { }
});